package com.rpc.example.loadbalance;

import com.rpc.example.ServiceInfo;
import org.apache.curator.x.discovery.ServiceInstance;

import java.util.Collection;
import java.util.List;

public interface ILoadBalance<T> {

    T select(List<ServiceInstance<ServiceInfo>> services);
}
